package com.xhm.bbs.pojo.qo;

import com.xhm.common.pojo.qo.PageQO;
import io.swagger.annotations.ApiParam;
import org.hibernate.validator.constraints.Length;

import static com.xhm.bbs.pojo.example.UserExample.*;

/**
 * 查询【用户】的参数
 *
 * @author mrj
 * @date 2020/01/01
 */
public class UserQO extends PageQO {

    @ApiParam(value = N_USER_NAME,example = E_USER_NAME)
    @Length(max = 32,message = "userName最大长度不能超过{max}")
    private String userName;

    @ApiParam(value = "用户名排序标识【1升序,-1降序,0不排序】",example = "1")
    private Integer userNameSortSign;

    @ApiParam(value = "排序号排序标识【1升序,-1降序,0不排序】",example = "1")
    private Integer orderNoSortSign;

    @ApiParam(value = "创建时间排序标识【1升序,-1降序,0不排序】",example = "1")
    private Integer createdTimeSortSign;

    @ApiParam(value = "修改时间排序标识【1升序,-1降序,0不排序】",example = "1")
    private Integer operatedTimeSortSign;


    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public Integer getUserNameSortSign() {
        return this.userNameSortSign;
    }

    public void setUserNameSortSign(Integer userNameSortSign) {
        this.userNameSortSign = userNameSortSign;
    }

    public Integer getOrderNoSortSign() {
        return this.orderNoSortSign;
    }

    public void setOrderNoSortSign(Integer orderNoSortSign) {
        this.orderNoSortSign = orderNoSortSign;
    }

    public Integer getCreatedTimeSortSign() {
        return this.createdTimeSortSign;
    }

    public void setCreatedTimeSortSign(Integer createdTimeSortSign) {
        this.createdTimeSortSign = createdTimeSortSign;
    }

    public Integer getOperatedTimeSortSign() {
        return this.operatedTimeSortSign;
    }

    public void setOperatedTimeSortSign(Integer operatedTimeSortSign) {
        this.operatedTimeSortSign = operatedTimeSortSign;
    }

}

